//
//  QOilRunningCell.m
//  QoilPublic
//
//  Created by 杨凯 on 2017/8/13.
//  Copyright © 2017年 杨凯. All rights reserved.
//

#import "QOilRunningCell.h"
@interface QOilRunningCell ()
@property (weak, nonatomic) IBOutlet UILabel *titlelabel;
@property (weak, nonatomic) IBOutlet UILabel *moneylabel;

@end
@implementation QOilRunningCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setGunModel:(QGunModel *)gunModel{
    _gunModel = gunModel;
    _titlelabel.text = [NSString stringWithFormat:@"第%@次挂枪",_gunModel.hangGunNumber];
    _moneylabel.text = [NSString stringWithFormat:@"%@元",_gunModel.hangGunPrice];
}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
